<script setup>
import Title from '@/components/title.vue';
import levelBar from '@/components/echart/level-bar.vue';
import powerLine from '@/components/echart/powerLine.vue';
import barEchart from '@/components/echart/bar-echart.vue';

</script>

<template>
    <div class="page">
        <div class="top">
            <Title title="舒适度数据统计"></Title>
            <levelBar></levelBar>
        </div>
        <div class="mida">
            <Title title="能源数据情况"></Title>
            <powerLine></powerLine>

        </div>
        <div class="bottom">
            <Title title="机主运行情况"></Title>
            <barEchart></barEchart>
        </div>
    </div>
</template>

<style scoped lang="scss">
.page {
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
    margin-left: 20px;
    font-size: 20rem;

    .top {
        margin-top: 50px;
        flex: 0 0 38%;
        box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12);
        position: relative;
    }


    .mida {
        flex: 0 0 28%;
        box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12);
    }

    .bottom {
        flex: 0 0 30%;
        box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12);

    }

}
</style>
